﻿#region Copyright (c) Nicola Gallo All rights reserved.
/*
 * All rights reserved. Reproduction of trasmission of this file, or a portion thereof,
 * is forbidden without prior written permission of Nicola Gallo.
 * 
 * Author: Nicola Gallo
 * Date: 09/04/2011
 * 
 * */
#endregion
namespace PrismMVC.Shell.MVC
{
    //.NET References
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Defines a <see cref="Controller"/> event args.
    /// </summary>
    public class ControllerEventArgs : EventArgs
    {
        //Constructors

        /// <summary>
        /// Creates a new instance of <see cref="ControllerEventArgs"/>.
        /// </summary>
        /// <param name="controllerState">View result.</param>
        public ControllerEventArgs(ViewResult controllerState)
        {
            this.CurrentState = controllerState;
        }

        //Properties

        /// <summary>
        /// Gets the current state.
        /// </summary>
        public ViewResult CurrentState { get; private set; }
    }
}